package com.yixin.hospital.mapper.extend;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yixin.hospital.entity.vo.DrugVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DrugExtendMapper {

    IPage<DrugVo> pageVo(Page page, @Param("firstType") Long firstType, @Param("secondType") Long secondType,
                         @Param("thirdType") Long thirdType, @Param("pinyinCode") String pinyinCode);


    IPage<DrugVo> pageVoProductTime(Page page, @Param("pinyinCode") String pinyinCode, @Param("depositoryIds") List<Long> depositoryIds, @Param("firstTypeIdList") List<Long> firstTypeIdList, @Param("sellMethod") Integer sellMethod);

    List<DrugVo> pageVoByDrugDepository(@Param("pinyinCode") String pinyinCode, @Param("depositoryIds") List<Long> depositoryIds);
}
